<!DOCTYPE html>
<html class="x-admin-sm" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8">
    <title>会员列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <link rel="stylesheet" href="../../static/css/font.css">
    <link rel="stylesheet" href="../../static/css/index.css">
    <link rel="stylesheet" href="../../static/css/main.css">
    <link rel="stylesheet" href="../../static/shequ/layui/css/layui.css" />
    <link rel="stylesheet" href="../../static/shequ/css/message.css" />
    <script src="../../static/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="../../static/js/index.js"></script>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
</head>

<body class="iframe-h">
<div class="wrap-container email-wrap clearfix">
    <div class="row">
        <div class="email-edge col-lg-2">
            <div class="layui-card-header">
                <button class="layui-btn layui-btn-normal email-write-btn" id="write-email-btn" th:onclick="xadmin.open([[${'写信'}]],[[${'/tosendmessage'}]],[[${800}]],[[${600}]])">写信</button>
            </div>
<!--            <button href="/tosendmessage" class="layui-btn layui-btn-normal email-write-btn" id="write-email-btn">写信</button>-->
            <dl class="email-folder">
                <dt>文件夹</dt>
                <dd>
                    <a href="javascript:;" data-url="email-list.html"><i class="iconfont">&#xe69b;</i>收件箱<span class="layui-badge f-r">12</span></a>
                </dd>
                <dd>
                    <a href="javascript:;" data-url="email-list.html"><i class="iconfont">&#xe69f;</i>发信<span class="layui-badge layui-bg-cyan f-r">6</span></a>
                </dd>
                <dd>
                    <a href="javascript:;" data-url="email-list.html"><i class="iconfont">&#xe6a2;</i>草稿<span class="layui-badge layui-bg-blue f-r">2</span></a>
                </dd>
                <dd>
                    <a href="javascript:;" data-url="email-list.html"><i class="layui-icon">&#xe640;</i><span class="layui-badge layui-bg-green f-r">4</span>垃圾箱</a>
                </dd>
            </dl>
            <dl class="email-classify">
                <dt>分类</dt>
                <dd>
                    <a href="javascript:;"><i class="layui-icon icon-blue">&#xe617;</i>工作</a>
                </dd>
                <dd>
                    <a href="javascript:;"><i class="layui-icon icon-green">&#xe617;</i>文档</a>
                </dd>
                <dd>
                    <a href="javascript:;"><i class="layui-icon icon-wran">&#xe617;</i>社交</a>
                </dd>
                <dd>
                    <a href="javascript:;"><i class="layui-icon icon-red">&#xe617;</i>广告</a>
                </dd>
                <dd>
                    <a href="javascript:;"><i class="layui-icon icon-gray">&#xe617;</i>客户端</a>
                </dd>
            </dl>
            <dl class="email-label">
                <dt>标签</dt>
                <dd>
                    <button class="layui-btn layui-btn-primary layui-btn-small">朋友</button>
                    <button class="layui-btn layui-btn-primary layui-btn-small">工作</button>
                    <button class="layui-btn layui-btn-primary layui-btn-small">孩子</button>
                    <button class="layui-btn layui-btn-primary layui-btn-small">关系</button>
                    <button class="layui-btn layui-btn-primary layui-btn-small">家庭</button>
                    <button class="layui-btn layui-btn-primary layui-btn-small">电影</button>
                </dd>

            </dl>
        </div>
        <div class="col-lg-10">
            <div class="x-nav">
        <span class="layui-breadcrumb">
            <a>
              <cite>邮箱管理</cite></a>
          </span>
                <a class="layui-btn layui-btn-small" style="line-height:1.6em;margin-top:3px;float:right" onclick="location.reload()" title="刷新">
                    <i class="layui-icon layui-icon-refresh" style="line-height:30px"></i></a>
            </div>
            <div class="layui-fluid">
                <div class="layui-row layui-col-space15">
                    <div class="layui-col-md12">
                        <div class="layui-card">

                            <div class="layui-card-body ">
                                <form class="layui-form layui-col-space5" action="/email/selectOne" method="post">


                                    <div class="layui-inline layui-show-xs-block">
                                        <input type="text" name="email_add" placeholder="请输入邮箱地址" autocomplete="off" class="layui-input">
                                    </div>
                                    <div class="layui-inline layui-show-xs-block">
                                        <button class="layui-btn" lay-submit="" lay-filter="sreach"><i class="layui-icon">&#xe615;</i></button>
                                    </div>
                                </form>

                            </div>

                            <div class="layui-card-header">
                                <button class="layui-btn" th:onclick="xadmin.open([[${'添加用户'}]],[[${'/toemailaddpage'}]],[[${800}]],[[${600}]])"><i class="layui-icon"></i>添加</button>
                            </div>
                            <div class="layui-card-body layui-table-body layui-table-main">
                                <table class="layui-table layui-form">
                                    <thead>
                                    <tr>

                                        <th>邮箱编号</th>
                                        <th>邮箱来源</th>
                                        <th>邮箱标题</th>
                                        <th>邮箱地址</th>
                                        <th>创建时间</th>
                                        <th>修改时间</th>
                                        <th>操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <tr th:each="list:${msg}">
                                        <td th:text="${list.getEmail_id()}">1</td>
                                        <td th:text="${list.getEmail_source()}">小明</td>
                                        <td th:text="${list.getEmail_title()}">男</td>
                                        <td th:text="${list.getEmail_add()}">13000000000</td>
                                        <td th:text="${list.getCreate_time()}">13000000000</td>
                                        <td th:text="${list.getUpdate_time()}">北京市 海淀区</td>

                                        <td >
                                            <a th:href="@{/toemailupdate/{email_add}(email_add=${list.getEmail_add()})}">修改</a>|
                                            <a th:href="@{/toemaildelete/{email_id}(email_id=${list.getEmail_id()})}" ><span style="color: red">删除</span>
                                            </a>
                                        </td>

                                    </tr>
                                    </tbody>
                                </table>
                            </div>

                            <div class="layui-card-body ">
                                <div class="page">
                                    <div>
                                        <a class="prev" href="">&lt;&lt;</a>
                                        <span class="current">1</span>
                                        <a class="num" href="">2</a>
                                        <a class="num" href="">3</a>
                                        <a class="num" href="">489</a>
                                        <a class="next" href="">&gt;&gt;</a></div>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="../lib/layui/layui.js" charset="utf-8"></script>
</body>

</html>



